﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NewsReader.ViewModels
{
    public sealed class FeedConfig
    {
        public int Id
        {
            get;
            private set;
        }

        public String Title
        {
            get;
            private set;
        }

        public String Uri
        {
            get;
            private set;
        }

        public String Category
        {
            get;
            private set;
        }

        public int CategoryId
        {
            get;
            private set;
        }

        public FeedConfig(String title, String uri, String category, int categoryId)
        {
            Title = title;
            Uri = uri;
            Category = category;
            CategoryId = categoryId;
        }
    }
}
